import requst from '@/utils/request'
export default {
  createOrder(courseId) {
    return requst({
      url: `/eduorder/createOrder/${courseId}`,
      method: 'post'
    })
  },
  getOrder(orderNo) {
    return requst({
      url: `/eduorder/getOrder/${orderNo}`,
      method: 'get'
    })
  }
}
